﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ecreate.Model;
using Ecreate.Business;

namespace Ecreate.Web.systemanage.system
{
    public partial class systemlist : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SystemUserService service=new SystemUserService();
            System.Collections.ArrayList list = service.ListAll();
            this.GridView1.DataSource = list;
            this.GridView1.DataBind();
        }

        protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            this.GridView1.PageIndex = e.NewPageIndex;
            SystemUserService service = new SystemUserService();
            System.Collections.ArrayList list = service.ListAll();
            this.GridView1.DataSource = list;
            this.GridView1.DataBind();
        }

        protected void GridView1_PageIndexChanged(object sender, EventArgs e)
        {

        }
    }
}
